package refactorplugin.views;

public class TreeComponent {

	private TreeComposite _parent;

	private String _name;
	
	public TreeComponent(String name) {
		_name = name;
	}
	
	public String getName() {
		return _name;
	}

	public String toString() {
		return getName();
	}

	public boolean isLeaf() {
		return true;
	}
	
	public void setParent(TreeComposite parent) {
		_parent = parent;
	}
	
	public TreeComposite getParent() {
		return _parent;
	}
}
